package com.ksframework.common.entity;

import java.io.Serializable;

@SuppressWarnings("serial")
public abstract class Persistent implements Serializable {

	public abstract String getId();

	public boolean equals(Object x) {
		if (x == null)
			return false;
		return ((Persistent) x).getId() == getId();
	}
}
